package tickets2;

public class TicketTest {

	public static void main(String[] args) {
		SaleTicket st1 = new SaleTicket();
		Thread thread1 = new Thread(st1, "窗口1");
		Thread thread2 = new Thread(st1, "窗口1");
		Thread thread3 = new Thread(st1, "窗口1");
		Thread thread4 = new Thread(st1, "窗口1");
		thread1.start();
		thread2.start();
		thread3.start();
		thread4.start();
	}

}
